<script>
  export default {
      name: "MySchool",
      data() {
          return {
              name:"武汉大学a123313131231312",
              address:"武汉"
          }
      }
  }
</script>

<template>
  <div>
    <h2>学校名称:{{name | mySlice }}</h2>
    <h2>学校地址:{{address}}</h2>
  </div>
</template>